package com.studentSystem.mapper;

import com.studentSystem.pojo.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CourseMapper {

    List<Course> list(Long id, String name, Long teacherId);

    void delete(Long id);

    void add(Course course);

    void update(Course course);

    Course getById(Long id);
}
